package com.city.ucenterservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * Created with IntelliJ IDEA.
 * User: Cheng
 * Date: 2020/10/1
 * Time: 15:55
 * Description: No Description
 */
@SpringBootApplication
@ComponentScan(basePackages = "com.city")
@EnableDiscoveryClient
@MapperScan("com.city.ucenterservice.mapper")
public class UcenterApplication {
    public static void main(String[] args) {
        SpringApplication.run(UcenterApplication.class,args);
    }
}
